package com.springsecurity.springsecuritydemo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author wangning
 * @create 2021-03-28 16:51
 */
public interface MyService {
	boolean hasPermission(HttpServletRequest request, Authentication authentication);

}
